<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
  </head>
  <script type="text/javascript">
  	function sub()
  	{
  		document.forms.loginform.submit();
  	}	
	function keyEnter(){ 
	        if   (window.event.keyCode   ==   13)   { 
	               document.forms.loginform.submit();
	        }   
	} 
  </script>
  <body>
 		<table align="center" border="0" width="100%" height="100%" style= "background-repeat:no-repeat; background-image:url(workplace/image/login.jpg);">
 		<tr>
 			<td>
 				<form id="loginform" action="login.action" method="post" onkeypress="keyEnter()">
           	 		<table border="0"  style="position: absolute;left:75;top:339 " height="20">
            			<tr height="5">
            				<td><font size="2"></font></td>
            				<td> 
            					<input name = "cmuName" type='text' value="" size="15">
            				</td>
            			</tr>
            			<tr align="right" height="5">
            				<td><font size="2"></font></td>
            				<td>
            					<input name = "cmuPassword" type='password' value="" size="15">
            				</td>
            			</tr>
            			
            			<tr align="right" height="10">
            				<td colspan='2'><input type='submit' value="登录" ></td>
            			</tr>
           				<tr>
 							<td colspan="2" align=center><font color=red><%=request.getAttribute("status")!=null?request.getAttribute("status"):"" %></font></td>
 						</tr>
           	 		</table>
        		</form>
 			</td>
 		</tr>
 		</table>
  </body>
</html>
